// vite.config.ts
import { URL, fileURLToPath } from "node:url";
import { defineConfig } from "file:///D:/webDevelop/vueSpace/cloud-test-main/node_modules/.pnpm/vite@5.0.10_@types+node@20.10.6_less@4.2.0/node_modules/vite/dist/node/index.js";
import Vue from "file:///D:/webDevelop/vueSpace/cloud-test-main/node_modules/.pnpm/@vitejs+plugin-vue@5.0.2_vite@5.0.10_vue@3.4.15/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import UnoCSS from "file:///D:/webDevelop/vueSpace/cloud-test-main/node_modules/.pnpm/unocss@0.58.3_postcss@8.4.38_vite@5.0.10/node_modules/unocss/dist/vite.mjs";
import VueRouter from "file:///D:/webDevelop/vueSpace/cloud-test-main/node_modules/.pnpm/unplugin-vue-router@0.7.0_vue-router@4.2.5_vue@3.4.15/node_modules/unplugin-vue-router/dist/vite.mjs";
import AutoImport from "file:///D:/webDevelop/vueSpace/cloud-test-main/node_modules/.pnpm/unplugin-auto-import@0.17.3_@vueuse+core@10.7.1/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///D:/webDevelop/vueSpace/cloud-test-main/node_modules/.pnpm/unplugin-vue-components@0.26.0_vue@3.4.15/node_modules/unplugin-vue-components/dist/vite.js";
import { VueRouterAutoImports } from "file:///D:/webDevelop/vueSpace/cloud-test-main/node_modules/.pnpm/unplugin-vue-router@0.7.0_vue-router@4.2.5_vue@3.4.15/node_modules/unplugin-vue-router/dist/index.mjs";
var __vite_injected_original_import_meta_url = "file:///D:/webDevelop/vueSpace/cloud-test-main/vite.config.ts";
var vite_config_default = defineConfig({
  plugins: [
    Vue({
      script: {
        defineModel: true
      }
    }),
    UnoCSS(),
    VueRouter({
      dts: "./src/types/vue-router.d.ts",
      routesFolder: "src/views",
      extensions: [".vue"],
      importMode: "async"
    }),
    AutoImport({
      dts: "./src/types/auto-import.d.ts",
      imports: ["vue", "pinia", "@vueuse/core", VueRouterAutoImports],
      dirs: ["./src/composables", "./src/stores", "./src/utils"]
    }),
    Components({
      dts: "./src/types/components.d.ts"
    })
  ],
  resolve: {
    alias: {
      "~": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    }
  },
  server: {
    proxy: {
      "/server-api": {
        target: 'http://127.0.0.1:8000',
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/server-api/, "")
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFx3ZWJEZXZlbG9wXFxcXHZ1ZVNwYWNlXFxcXGNsb3VkLXRlc3QtbWFpblwiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiRDpcXFxcd2ViRGV2ZWxvcFxcXFx2dWVTcGFjZVxcXFxjbG91ZC10ZXN0LW1haW5cXFxcdml0ZS5jb25maWcudHNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfaW1wb3J0X21ldGFfdXJsID0gXCJmaWxlOi8vL0Q6L3dlYkRldmVsb3AvdnVlU3BhY2UvY2xvdWQtdGVzdC1tYWluL3ZpdGUuY29uZmlnLnRzXCI7aW1wb3J0IHsgVVJMLCBmaWxlVVJMVG9QYXRoIH0gZnJvbSAnbm9kZTp1cmwnXHJcblxyXG5pbXBvcnQgeyBkZWZpbmVDb25maWcgfSBmcm9tICd2aXRlJ1xyXG5pbXBvcnQgVnVlIGZyb20gJ0B2aXRlanMvcGx1Z2luLXZ1ZSdcclxuXHJcbmltcG9ydCBVbm9DU1MgZnJvbSAndW5vY3NzL3ZpdGUnXHJcbmltcG9ydCBWdWVSb3V0ZXIgZnJvbSAndW5wbHVnaW4tdnVlLXJvdXRlci92aXRlJ1xyXG5pbXBvcnQgQXV0b0ltcG9ydCBmcm9tICd1bn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